﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MyFramework.UIKit
{
	public class UIHomePanel : UIPanel {



		// Use this for initialization
		void Start () {
			var btnStartGame = transform.Find ("BtnStartGame").GetComponent<UnityEngine.UI.Button> ();
			btnStartGame.onClick.AddListener (() => {
				Close();
				UIPanel.OpenPanel<UIGame>();
			});
		}

		// Update is called once per frame
		void Update () {

		}
	}
}